package com.xzy.mapper;

import com.xzy.pojo.ApplyAuthor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ApplyAuthorMapper {
    public int insertAgreeAuthor(String username);
    public int updateAgreeAuthorYes(String username);
    public int updateAgreeAuthorNo(String username);
    public List<ApplyAuthor> selectApplyAuthorPage(@Param("begin")int begin, @Param("size")int size);
}
